
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理员管理</title>

<link rel="stylesheet" type="text/css" href="css/css.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<!-- <script type="text/javascript" src="js/page.js" ></script> -->
	<script>
        $(function () {
            $("#search").click(function () {
                $("#searchForm [name=pageNo]").val(1);
                return true;
            });
            $("#go").click(function () {
                var p=$(this).prev().val();
                if(p<=1)p=1;
                //window.location.href="students.jsp?pageNo="+p;
                $("#searchForm [name=pageNo]").val(p);
                $("#searchForm").submit();
                return false;
            });
            var pageNo=1;
            $("#paging a#first").click(function () {
                $("#searchForm [name=pageNo]").val(1);
                $("#searchForm").submit();
                return false;//链接失效
            });
            $("#paging a#prev").click(function () {
                $("#searchForm [name=pageNo]").val(--pageNo);
                $("#searchForm").submit();
                return false;//链接失效
            });
            $("#paging a#next").click(function () {
                $("#searchForm [name=pageNo]").val(++pageNo);
                $("#searchForm").submit();
                return false;//链接失效
            });
            $("#paging a#last").click(function () {
                pageNo=3;
                $("#searchForm [name=pageNo]").val(pageNo);
                $("#searchForm").submit();
                return false;//链接失效
            });
            
            $("#addNew").click(function () {
				window.location='p-toAdd.do';
                return false;
            });
        });
	</script>
</head>

<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;-</span>&nbsp;品类管理
			</div>
		</div>

		<div class="page">
			<!-- user页面样式 -->
			<div class="connoisseur">
				<div style="color: red;"></div>
				<div class="conform">
					<form action="p-index.do" id="searchForm">
						<input type="hidden" name="pageNo" value="1"/>
						<div class="cfD">
							<input class="userinput" name="pname" type="text" placeholder="品名" value=""/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<input class="userinput vpr" name="style" type="text" placeholder="规格" value=""/>

							<button class="userbtn" id="search">查询</button>
							<button class="userbtn" type="button" id="addNew">新增</button>
						</div>
					</form>
				</div>
				<!-- user 表格 显示 -->
				<div class="conShow">
					<table border="1" cellspacing="0" cellpadding="0">
						<tr>
							<td width="66px" class="tdColor tdC">序号</td>
							<td width="135px" class="tdColor">品名</td>
							<td width="90px" class="tdColor">丝度1</td>
							<td width="60px" class="tdColor">规格1</td>
							<td width="90px" class="tdColor">丝度2</td>
							<td width="60px" class="tdColor">规格2</td>
							<td width="90px" class="tdColor">丝度3</td>
							<td width="60px" class="tdColor">规格3</td>
							<td width="130px" class="tdColor">价格(元)</td>
							<td width="130px" class="tdColor">其他信息</td>
							<td width="160px" class="tdColor">录入时间</td>
							<td width="70px" class="tdColor">操作</td>
						</tr>
						<tr height="40px">
							<td>13</td>
							<td>008</td>
							<td>777</td>
							<td>777</td>
							<td>下级2</td>
							<td>下级规格2</td>
							<td>三级3</td>
							<td>三级规格3</td>
							<td>777</td>
							<td style="overflow: hidden">777</td>
							<td>2021-04-14</td>

							<td><a href="p-toUpdate.do?id=13"><img class="operation"
									src="img/update.png"></a>
								<a onclick="return confirm('真的要删除【008】？如果有采购，可能会影响数据完整！')" href="p-del.do?id=13"><img class="operation delban"
								src="img/delete.png"></a></td>
						</tr>
						<tr>
								<Td style="border: none;"></Td>
								<td >0108</td>
								<td>13</td>
								<td>777</td>
								<td>777</td>
								<td style="overflow: hidden">777</td>
								<td>2021-04-14</td>
							
								<td><a href="p-toUpdate.do?id=13"><img class="operation"
										src="img/update.png"></a>
									<a onclick="return confirm('真的要删除【008】？如果有采购，可能会影响数据完整！')" href="p-del.do?id=13"><img class="operation delban"
									src="img/delete.png"></a></td>
							
						</tr>
						<tr height="40px">
							<td>12</td>
							<td>99</td>
							<td>99</td>
							<td>99</td>
							<td>99</td>
							<td style="overflow: hidden">99</td>
							<td>2021-04-14</td>

							<td><a href="p-toUpdate.do?id=12"><img class="operation"
									src="img/update.png"></a>
								<a onclick="return confirm('真的要删除【99】？如果有采购，可能会影响数据完整！')" href="p-del.do?id=12"><img class="operation delban"
								src="img/delete.png"></a></td>
						</tr>
						<tr height="40px">
							<td>11</td>
							<td>888</td>
							<td>8</td>
							<td>88888888888</td>
							<td>8</td>
							<td style="overflow: hidden">88</td>
							<td>2021-04-14</td>

							<td><a href="p-toUpdate.do?id=11"><img class="operation"
									src="img/update.png"></a>
								<a onclick="return confirm('真的要删除【888】？如果有采购，可能会影响数据完整！')" href="p-del.do?id=11"><img class="operation delban"
								src="img/delete.png"></a></td>
						</tr>
						<tr height="40px">
							<td>10</td>
							<td>777</td>
							<td>77</td>
							<td>77</td>
							<td>77</td>
							<td style="overflow: hidden">77</td>
							<td>2021-04-14</td>

							<td><a href="p-toUpdate.do?id=10"><img class="operation"
									src="img/update.png"></a>
								<a onclick="return confirm('真的要删除【777】？如果有采购，可能会影响数据完整！')" href="p-del.do?id=10"><img class="operation delban"
								src="img/delete.png"></a></td>
						</tr>
					</table>
					<div class="paging" id="paging">
						<a href="#" id="first">首页</a>

						<input type="number" min="1" value="1" style="width: 60px">
						<input type="button" value="GO" id="go" style="width: 50px"/>

							<a href="#" id="next">下一页</a>
						<a href="#" id="last"> 尾页</a>
					</div>
				</div>
				<!-- user 表格 显示 end-->
			</div>
			<!-- user页面样式end -->
		</div>

	</div>


	<!-- 删除弹出框 -->
	<div class="banDel">
		<div class="delete">
			<div class="close">
				<a><img src="img/shanchu.png" /></a>
			</div>
			<p class="delP1">你确定要删除此条记录吗？</p>
			<p class="delP2">
				<a href="#" class="ok yes">确定</a><a class="ok no">取消</a>
			</p>
		</div>
	</div>
	<!-- 删除弹出框  end-->
</body>
<!--
<script type="text/javascript">
// 广告弹出框
$(".delban").click(function(){
  $(".banDel").show();
});
$(".close").click(function(){
  $(".banDel").hide();
});
$(".no").click(function(){
  $(".banDel").hide();
});
// 广告弹出框 end
</script>-->
</html>